package com.ideawarehouse.data;
// default package

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;


/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User  implements java.io.Serializable {


    // Fields    

     private Integer userId;
     private String firstName;
     private String lastName;
     private String username;
     private String password;
     private String emailAddress;
     private String phoneNumber;
     private Integer loginAttemptsSinceReset;
     private Timestamp lastLoginAttempt;
     private String gender;
     private String location;
     private Set groups = new HashSet(0);
     private Set ideas = new HashSet(0);


    // Constructors

    /** default constructor */
    public User() {
    }

    
    /** full constructor */
    public User(String firstName, String lastName, String username, String password, String emailAddress, String phoneNumber, Integer loginAttemptsSinceReset, Timestamp lastLoginAttempt, String gender, String location, Set groups, Set ideas) {
        this.firstName = firstName;
        this.lastName = lastName;
        this.username = username;
        this.password = password;
        this.emailAddress = emailAddress;
        this.phoneNumber = phoneNumber;
        this.loginAttemptsSinceReset = loginAttemptsSinceReset;
        this.lastLoginAttempt = lastLoginAttempt;
        this.gender = gender;
        this.location = location;
        this.groups = groups;
        this.ideas = ideas;
    }

   
    // Property accessors

    public Integer getUserId() {
        return this.userId;
    }
    
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getFirstName() {
        return this.firstName;
    }
    
    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getLastName() {
        return this.lastName;
    }
    
    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getUsername() {
        return this.username;
    }
    
    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return this.password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmailAddress() {
        return this.emailAddress;
    }
    
    public void setEmailAddress(String emailAddress) {
        this.emailAddress = emailAddress;
    }

    public String getPhoneNumber() {
        return this.phoneNumber;
    }
    
    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public Integer getLoginAttemptsSinceReset() {
        return this.loginAttemptsSinceReset;
    }
    
    public void setLoginAttemptsSinceReset(Integer loginAttemptsSinceReset) {
        this.loginAttemptsSinceReset = loginAttemptsSinceReset;
    }

    public Timestamp getLastLoginAttempt() {
        return this.lastLoginAttempt;
    }
    
    public void setLastLoginAttempt(Timestamp lastLoginAttempt) {
        this.lastLoginAttempt = lastLoginAttempt;
    }

    public String getGender() {
        return this.gender;
    }
    
    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getLocation() {
        return this.location;
    }
    
    public void setLocation(String location) {
        this.location = location;
    }

    public Set getGroups() {
        return this.groups;
    }
    
    public void setGroups(Set groups) {
        this.groups = groups;
    }

    public Set getIdeas() {
        return this.ideas;
    }
    
    public void setIdeas(Set ideas) {
        this.ideas = ideas;
    }
   








}